<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>京东账号 - 登录</title>
		<link rel="icon" type="text/css" href="img/icon/favicon.ico"/>
		<link rel="stylesheet" type="text/css" href="dengru.css"/>
		<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
		<script>
			$(function(){
				var deng = localStorage.getItem('dengstr');
				var obj = JSON.parse(deng);
				var panduan = true;
				$('.b1').click(function(){
//					alert()
					var phonenew = parseInt($('[name=phone]').val());
					var passwords = $('[name=passwords]').val();
					console.log(phonenew);
					console.log(passwords);
					if(phonenew==''||passwords==''){
						alert('账号跟密码都不许为空！');
					}else{
						$(obj).each(function(i,e){
						console.log(e.zhanghao);
						console.log(e.name2);
						if(phonenew!=parseInt(e.zhanghao)||passwords!=e.name2){
							alert('用户名或密码不正确！');
						}else{
							window.location.href='../HomePage/HomePage/HomePage.html';
						}
					});
					}
					
				});
			});
		</script>
	</head>
	<body>
		
		<div class="d1">
			<div style="margin: 0 auto;width: 1130px; height: 98px;">
					<img class="tu1" src="img/hehe.png">
			</div>	
		</div>
		<div class="d2">
			<img src="img/6efbf2cadd6042e2.jpg" style="width:100%; height: 588px;"/>
			<div class="d22">
				<!-- <img src="imgs/e8201bfbb8c9d474a48da76f7d81a5c7.jpg"/> -->
				<div class="zi1">
					<ul class="u2">
						<li><a class="zzz" href="#">账号登录</a></li>
								<li><a href="#">丨</a></li>
						<li class="zzzz" style="cursor: pointer;"><a href="#">扫码登录</a></li>				            			                
					</ul>
					<div class="zi2">
						<!--<form action="" method="post"  style="background-color: white;">-->
							<input class="input1" type="text" name="phone" placeholder="   邮箱/手机号码/京东账号" required  /><br />
							<input class="input1" type="password" name="passwords" placeholder="   密码" required /><br />
							<button class="b1"><a href="javascript:void(0)" style="margin-left: 0px; color: white;">登录</a></button>								
					</div>
				
					<div class="zi3" style="margin-top: 15px;">
						<ul class="u3">
							<li class="l1"><a href="#">手机短信登录/注册</a></li> 							 
							<li><a href="#">立即注册|忘记密码？</a></li>
						</ul>
						<legend align="center" class="txt">————————其他方式登录————————</legend>
						<img class="img1" title="QQ登录" src="img/9.png">
						<img class="img1" title="微博" src="img/8.png">
						<img class="img1" title="支付宝" src="img/7.png">
						<img class="img1" title="微信登录" src="img/6.png">
					</div>
				</div>
			</div>		
		</div>
	<div class="d3">
		<div class="ull">
			<ul class="u1">
				<li><a href="#">简体</a></li> 
				<li><a href="#">丨</a></li>
				<li><a href="#">繁体</a></li>
				<li><a href="#">丨</a></li>
				<li><a href="#">English</a></li>
				<li><a href="#">丨</a></li>
				<li><a href="#">常见问题	</a></li>
				<li><a href="#">丨</a></li>
				<li><a href="#">隐私政策</a></li>         	   
			</ul>
		</div>
		<p class="p1">京东公司版权所有-京ICP备10046444-京公网安备11010802020134号-京ICP证110507号</p>
	</div>

	</body>
</html>
